#pragma once
#include "ServerPlayer.h"

class CDBPlayer :
	public CServerPlayer
{
public:
	CDBPlayer(void);
	~CDBPlayer(void);

	virtual BOOL OnInitialUpdate(const char *szServerIP, int nPort, int nOrigin, int nServerId);
	virtual Msg* CreateMsg(DWORD dwMsgId, int nLen);
	virtual BOOL OnMsg(Msg *pMsg);
};

extern CDBPlayer *g_pDBPlayer;